import { Module } from '@nestjs/common';
import { AuthService } from './auth.service';
import { AuthController } from './auth.controller';
import { LocalStrategy } from 'src/common/strategies/local.strategy';
import { PassportModule } from '@nestjs/passport';
import { JwtConfigModule } from '../jwt/jwt.config.module';
import { CaptchaModule } from '../captcha/captcha.module';
import { JwtStrategy } from 'src/common/strategies/jwt.strategy';
import { RedisModule } from '../redis/redis.module';

@Module({
  imports: [PassportModule, JwtConfigModule, CaptchaModule, RedisModule],
  controllers: [AuthController],
  providers: [AuthService, LocalStrategy, JwtStrategy],
})
export class AuthModule {}
